﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="selbbscatanew.aspx.cs" Inherits="chatblog.selbbscatanew" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>选择分类</title>
<link href="../Stylesheet1.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        #ajaxtree
        {
            width: 100%;
            height: 100%;
            overflow: scroll;
            float: left;
        }
    </style>

    <script type="text/javascript">
        function treeViewSelectChanged(textboxId,id)
        {
       // window .opener.location.reload();
        window .opener.location = window .opener.location;
//           var parentDocument=  window .opener .document ;
//           var textbox=  parentDocument .getElementById (textboxId );
//            textbox.value =id;
            window .opener =null;
            window.close ();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
<div>
选择提问的分类:
        <!--左边树-->
        <div id="ajaxtree">
            <asp:TreeView ID="TreeView1" runat="server" ShowLines="true" ShowExpandCollapse="true"
                OnSelectedNodeChanged="TreeView1_SelectedNodeChanged">
            </asp:TreeView>
        </div>
    </div>
    </form>
</body>
</html>
